import React from 'react'
import { useParams } from 'react-router-dom'

export default function Goods(props) {
  //   console.log(props.match.params.id)
  const params = useParams()
  return <div>我是商品组件--{params.id}</div>
}
